package com.bestcem.xm.award.service;

import com.bestcem.xm.award.controller.param.point.BandPointSaveAllParam;
import com.bestcem.xm.award.controller.vo.point.BandPointDeleteCheckVO;
import com.bestcem.xm.award.service.bo.point.BandPointListBO;
import com.bestcem.xm.common.core.domain.web.ServiceResult;
import org.springframework.stereotype.Service;

/**
 * @author xa.zhang <xa.zhang@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/17 20:55
 * @desc 品牌积分操作类
 */
@Service
public interface BandPointService {


    /**
     * 批量保存修改
     *
     * @param param 参数
     * @return 结果
     */
    ServiceResult<String> save(BandPointSaveAllParam param);

    /**
     * 分页查询
     *
     * @param curPage     页码
     * @param rowsPerPage 每页数量
     * @param orgId       公司id
     * @return 结果
     */
    ServiceResult<BandPointListBO> findAllByPage(Integer curPage, Integer rowsPerPage, String orgId);

    /**
     * 品牌积分删除前校验
     *
     * @param id 参数
     * @return 结果
     */
    ServiceResult<BandPointDeleteCheckVO> checkDelete(String id);

}
